package com.dragon.codefx.dataBase.dao;

import com.dragon.codefx.dataBase.entity.TableSearchConfigEntity;
import com.dragon.common.JpaDao;
import com.dragon.util.DaoModify;

import java.util.List;

/**
 * 数据表表查询配置 Dao 接口
 *
 * @author lsc
 * @version V1.0
 * @date 2025-6-23
 */
public interface TableSearchConfigDao extends JpaDao<TableSearchConfigEntity, Integer> {

    List<TableSearchConfigEntity> findAllBySchemaNameAndTableName(String schemaName, String tableName);

    @DaoModify
    void deleteBySchemaNameAndTableName(String schemaName, String tableName);
}